package org.geekbang.projects.cs.endpoint;

import org.springframework.boot.actuate.info.Info;
import org.springframework.boot.actuate.info.InfoContributor;
import org.springframework.stereotype.Component;

/**
 * @description:
 * @author: Kaijun Chen
 * @date: 2023/2/3
 */
@Component
public class CustomerBuildInfoContributor implements InfoContributor {

    @Override
    public void contribute(Info.Builder builder) {
        builder.withDetail("author", "chenkaijun");
    }
}
